Update doc rule
authorGert Wollny <gw.fossdev@gmail.com>
Tue, 1 Dec 2015 02:16:01 +0000 (03:16 +0100)
committerGert Wollny <gw.fossdev@gmail.com>
Tue, 1 Dec 2015 02:16:01 +0000 (03:16 +0100)
debian/rules

index 8f82582b9de3f4ad929ab1de6dab2a69a51dddf3..18fa396833c5989dbfbbd974335a784bd62ec2a3 100755 (executable)
@@ -40,13 +40,11 @@ override_dh_auto_configure:
                         --with-libwrap                          \
                         --with-openssl
 
-# Let's be smart with building doc
-override_dh_auto_build-indep:
-       $(MAKE) -C obj-* DOXYGEN
-
 # No tests needed for docs
 override_dh_auto_test-indep:
 
+# if config/Makefile.def is not availabe then we assume this is 
+# a clean source tree 
 override_dh_auto_clean:
        if [ -f config/Makefile.def ] ; then dh_auto_clean; fi
 
@@ -56,10 +54,7 @@ override_dh_auto_install-arch:
        mv debian/tmp/usr/etc debian/tmp/
 
 override_dh_auto_install-indep:
-       #DESTDIR=debian/tmp $(MAKE) -C obj-*/doxygen install
-       DESTDIR=$(CURDIR)/debian/tmp $(MAKE) -C obj-*/doxygen install 
-       #rm debian/dcmtk/usr/share/man/man1/_tmp_buildd*
-       #rm debian/tmp/usr/share/man/man1/_tmp_buildd*
+       DESTDIR=$(CURDIR)/debian/tmp $(MAKE) -C doxygen install 
        rm debian/tmp/usr/share/man/man1/_*.1
 
 override_dh_installdocs: